<html>

<head>
<meta name="VI60_defaultClientScript" content="JavaScript">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Physical style</title>
</head>

<body>

<h2><b><font color="#008000" face="Arial">Physical style - patterns</font></b>
</h2>
<p><font face="Arial">There is a set of physical styles, also called patterns. 
Most patterns encompass typeface variations, such as style, font and size. But 
patterns can also be designed to include links to images, files, programs, etc.</font></p>
<p><font face="Arial">You can apply a pattern to a node in one of two ways.</font></p>
<ul>
  <li><font face="Arial">Right-click on the node, pick Physical Style from the 
  node menu, then choose the pattern you want.</font></li>
  <li><font face="Arial">Select a node, and use the keyboard shortcut to apply a 
  particular pattern.</font></li>
</ul>
<blockquote>
  <p><font face="Arial">The default keyboard shortcuts are:<br>
  </font><font face="Arial" size="2">&nbsp;apply pattern 1 = F1<br>
  &nbsp;apply pattern 2 = Ctrl+Shift+N<br>
  &nbsp;apply pattern 3 = F3<br>
  &nbsp;apply pattern 4 = F4<br>
  &nbsp;apply pattern 5 = F5<br>
  &nbsp;apply pattern 6 = F6<br>
  &nbsp;apply pattern 7 = F7<br>
  &nbsp;apply pattern 8 = F8<br>
  &nbsp;apply pattern 9 = F9<br>
  &nbsp;apply pattern 10 = Ctrl+F1<br>
  &nbsp;apply pattern 11 = Ctrl+F2<br>
  &nbsp;apply pattern 12 = Ctrl+F3<br>
  &nbsp;apply pattern 13 = Ctrl+F4<br>
  &nbsp;apply pattern 14 = Ctrl+F5<br>
  &nbsp;apply pattern 15 = Ctrl+F6<br>
  &nbsp;apply pattern 16 = Ctrl+F7<br>
  &nbsp;apply pattern 17 = Ctrl+F8<br>
  &nbsp;apply pattern 18 = Ctrl+F9</font></p>
  <p><font face="Arial" size="2">The shortcuts may be edited in the
  <a href="customuser.htm">user.properties</a> file.</font></p>
</blockquote>
<p><font face="Arial">You can create or change patterns by editing &quot;patterns.xml&quot;, 
located in the folder &quot;freemind&quot; in your home directory. Pattern applies to a 
node, if there is a &lt;node&gt; tag; it applies to an edge, if there is an &lt;edge&gt; 
tag. </font></p>
<p><font face="Arial">A typical pattern in patterns.xml looks like this:</font></p>
<pre><font size="3">&lt;pattern name=&quot;Folder&quot;&gt;
    &lt;node color=&quot;#CC9900&quot;&gt;
        &lt;font NAME=&quot;Arial&quot; size=&quot;14&quot; /&gt;
    &lt;/node&gt;
&lt;/pattern&gt;</font></pre>
<p><font face="Arial">Note that the &lt;node&gt; tag has the &lt;font&gt; tag as a child.&nbsp; 
The &lt;font&gt; tag itself is terminated by the &quot;/&quot; at the end.</font></p>
<p><font face="Arial">You can have a simple pattern that only changes the color:</font></p>
<pre><font size="3">&lt;pattern name=&quot;Purple&quot;&gt;
    &lt;node color=&quot;#993399&quot;/&gt;
&lt;/pattern&gt;</font></pre>
<p><font face="Arial">Or, the tag can included imbedded links. In this case, 
it's necessary to use the &quot;&amp;&quot; codes for special HTML characters. The following 
example loads the node with a graphic that has been stored in FreeMind's images 
directory.</font></p>
<pre><font size="3">&lt;pattern name=&quot;Question mark&quot;&gt;
    &lt;node TEXT=&quot;&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;file:///C:/Program Files/FreeMind/Images/question.gif&amp;quot;&amp;gt;&amp;lt;/html&amp;gt; &quot;&gt;
        &lt;font NAME=&quot;Default&quot; SIZE=&quot;14&quot;/&gt;
    &lt;/node&gt;
&lt;/pattern&gt;</font></pre>
<p><font face="Arial"><i>Be aware that the use of the &quot;text&quot; attribute, whether 
to insert actual text or HTML code, will completely overwrite any text that was 
already in that node.</i></font></p>
<p><font face="Arial">If you're using the shortcut keys, remember that the 
patterns are numbered simply according to their sequence in the list. So if you 
add or delete a pattern in the middle, the numbering will change.</font></p>

</body>

</html>
